# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
        ('cmdb', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Conf_record',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('type', models.CharField(default=b'', choices=[('\u786c\u76d8', '\u786c\u76d8'), ('\u5185\u5b58', '\u5185\u5b58'), ('\u7f51\u5361', '\u7f51\u5361'), ('SSD\u5361', 'SSD\u5361')], max_length=64, blank=True, null=True, verbose_name='\u5907\u4ef6\u7c7b\u578b')),
                ('memo', models.CharField(max_length=120, null=True, verbose_name='\u5907\u4ef6\u63cf\u8ff0(\u5bb9\u91cf/\u578b\u53f7)', blank=True)),
                ('state', models.CharField(default=b'', choices=[('\u589e\u52a0', '\u589e\u52a0'), ('\u79fb\u9664', '\u79fb\u9664')], max_length=64, blank=True, null=True, verbose_name='\u589e\u51cf\u60c5\u51b5')),
                ('parts_num', models.PositiveIntegerField(null=True, verbose_name='\u6570\u91cf', blank=True)),
                ('change_time', models.DateTimeField(null=True, verbose_name='\u53d8\u66f4\u65f6\u95f4', blank=True)),
                ('executor', models.ForeignKey(verbose_name='\u64cd\u4f5c\u4eba', blank=True, to='cmdb.Menber')),
                ('server', models.ForeignKey(to='cmdb.Server')),
            ],
            options={
                'verbose_name': '\u5907\u4ef6\u53d8\u66f4\u8bb0\u5f55',
                'verbose_name_plural': '\u5907\u4ef6\u53d8\u66f4\u8bb0\u5f55',
            },
        ),
    ]
